package com.sskj.api.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sskj.api.domain.Product;
import com.sskj.api.vo.req.ProductPageListReq;
import org.apache.ibatis.annotations.Param;

public interface ProductMapper extends BaseMapper<Product> {

    IPage<Product> pageList(IPage<Product> pageConfig, @Param("wheres") ProductPageListReq req);

    Product detail(@Param("id") Long id);
}
